<form method="post" action="?q=user/newuser">
<table>
	<tr>
		<td>Név:</td>
		<td><input type="text" name="name" value="{$user->getName()}"/> {if $error[2] neq NULL}<font color="red">{$error[2]}</font>{else}Minimum 3 karakter{/if}</td>
	</tr>
	<tr>	
		<td>Születési dátum:</td>
		<td><input onclick="ds_sh(this);" name="birthdate" readonly="readonly" style="cursor: text; border: black 1px solid;" value="{$user->GetBirthdate()}"/> {if $error[6] neq NULL}<font color="red">{$error[6]}</font>{else}Kattints a mezőbe{/if}</td>
	</tr>	
	<tr>	
		<td>Username:</td>
		<td><input type="text" name="username" value="{$user->getUsername()}"/> {if $error[0] neq NULL}<font color="red">{$error[0]}</font>{else}Minimum 3 karakter{/if}</td>
	</tr>
	<tr>	
		<td>Password:</td>
		<td><input type="password" name="password" value=""/> {if $error[3] neq NULL}<font color="red">{$error[3]}</font>{else}Minimum 5 karakter{/if}</td>
	</tr>
	<tr>	
		<td>E-mail:</td>
		<td><input type="text" name="email" value="{$user->getEmail()}"/> {if $error[1] neq NULL}<font color="red">{$error[1]}</font>{else}valami@host.domain{/if}</td>
	</tr>
	<tr>	
		<td>Iskola:</td>
		<td><input type="text" name="school" value="{$user->getSchool()}"/> {if $error[4] neq NULL}<font color="red">{$error[4]}</font>{else}Minimum 3 karakter{/if}</td>
	</tr>
	<tr>	
		<td>Évfolyam:</td>
		<td><input type="text" name="classyear" value="{$user->getClassyear()}"/> {if $error[5] neq NULL}<font color="red">{$error[5]}</font>{else}Csak szám{/if}</td>
	</tr>
</table>
	<input type="submit" name="insert" value="Regisztráció" />
</form>